import request from '@/api/request'

export function getBannerList (data) {
    return request({
        url: `/front/home/getBannerList`,
        method: 'post',
        data
    })
}
export function getHomeNoticeList (data) {
    return request({
        url: `/front/home/getHomeNoticeList`,
        method: 'post',
        data
    })
}
export function getNoticeList (data) {
    return request({
        url: `/front/home/getNoticeList`,
        method: 'post',
        data
    })
}
export function getNotice (data) {
    return request({
        url: `/front/home/getNotice`,
        method: 'post',
        data
    })
}
export function getHelpCenterList (data) {
    return request({
        url: `/front/home/getHelpCenterList`,
        method: 'post',
        data
    })
}
export function getRecommendCourseList (data) {
    return request({
        url: `/front/home/getRecommendCourseList`,
        method: 'post',
        data
    })
}
export function searchCourse (data) {
    return request({
        url: `/front/home/searchCourse`,
        method: 'post',
        data
    })
}